package com.xtkj.accountjava.service.impl;

import com.xtkj.accountjava.entity.AdConfigEntity;
import com.xtkj.accountjava.entity.LogEntity;
import com.xtkj.accountjava.mapper.AdConfigMapper;
import com.xtkj.accountjava.mapper.LogMapper;
import com.xtkj.accountjava.service.AdConfigService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class AdConfigServiceImpl implements AdConfigService {

    @Autowired
    AdConfigMapper adConfigMapper;

    @Override
    public List<AdConfigEntity> getAdConfig() {
        List<AdConfigEntity> adConfigs = adConfigMapper.getAdConfig();
        return adConfigs;
    }
}
